package com.zxl.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxl.common.model.pojo.SysInformation;
import com.zxl.common.model.query.information.InformationQuery;
import com.zxl.common.model.vo.information.InformationRecommendVo;
import com.zxl.common.model.vo.information.InformationVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxw
 * @since 2023-04-24
 */
public interface SysInformationMapper extends BaseMapper<SysInformation> {

    List<InformationVo> getList(InformationQuery query);

    List<InformationVo> selectInformation(InformationQuery query);

    InformationVo selectDetails(Integer id);

    List<InformationRecommendVo> recommend(Integer id, Integer groupId);
}
